package com.atguigu.spzx.product.mapper;

import com.atguigu.spzx.model.entity.product.Category;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author: Shylo Sun
 * @Project: spzx-parent
 * @Date: 2023/11/20 11:08
 */
@Mapper
public interface CategoryMapper {

    // 查询所有一级分类
    List<Category> findOneCategory();

    List<Category> findAll();

}
